﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nhom16_PTTKHTTT_12HCB
{
    public static class ThongTinDangNhap
    {
        private static string _maNV;

        public static string MaNV
        {
            get { return _maNV; }
            set { _maNV = value; }
        }
        private static string _tenNV;

        public static string TenNV
        {
            get { return _tenNV; }
            set { _tenNV = value; }
        }
        private static string _diaChi;

        public static string DiaChi
        {
            get { return _diaChi; }
            set { _diaChi = value; }
        }
        private static string _email;

        public static string Email
        {
            get { return _email; }
            set { _email = value; }
        }
        private static string _dienThoai;

        public static string DienThoai
        {
            get { return _dienThoai; }
            set { _dienThoai = value; }
        }
        private static string _tenDN;

        public static string TenDN
        {
            get { return _tenDN; }
            set { _tenDN = value; }
        }
        private static string _matKhau;

        public static string MatKhau
        {
            get { return _matKhau; }
            set { _matKhau = value; }
        }
        private static string _maChucVu;

        public static string MaChucVu
        {
            get { return _maChucVu; }
            set { _maChucVu = value; }
        }

        public static void DangXuat()
        {
            MaNV = string.Empty;
            TenNV = string.Empty;
            DiaChi = string.Empty;
            Email = string.Empty;
            DienThoai = string.Empty;
            TenDN = string.Empty;
            MatKhau = string.Empty;
            MaChucVu = string.Empty;
        }
    }
}
